package oop.ex2.enums;

import java.util.regex.Pattern;

public enum IfWhileTypes {
	IF("\\s*(if|while)\\s*\\((.+)\\)\\s*\\{\\s*");
	
private Pattern patt;
	
	private IfWhileTypes(String expression){
		patt=Pattern.compile(expression);
	}
	
	public Pattern getPattern(){
		return patt;
	}
}
